public class Thermostat
{
  float current,desired;
  
  
  public Thermostat(float currentTemp,float desiredTemp)
  {
    this.current=currentTemp;
    this.desired=desiredTemp;
    
  }
  
  public float setDesiredTemp(Temperature myTemp, float desiredTemp)
  {
    return myTemp.setTemp(desiredTemp);
   }
  
}